package com.tempjob.common.dto.admin;

import com.tempjob.common.model.BaseRequest;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author hui
 * @Date 2021/5/23 11:19
 **/
@Data
public class ResetPwdDTO extends BaseRequest {

    @NotBlank(message = "账号不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;

    @NotBlank(message = "旧密码不能为空")
    private String oldPassword;

    @NotBlank(message = "验证码不能为空")
    private String captcha;

}
